import request from "@/utils/request";

/**
 *  用户列表
 */
export function userListApi(query: any) {
  return request({
    url: "/system/userlist",
    method: "POST",
    data: query, // 合并对象 {name: xx, current: xxx, size: xx},
  });
}
/**
 *  用户删除
 */
export function userDelApi(id: string) {
  return request({
    url: "/system/role",
    method: "GET",
  });
}
/**
 *  修改密码
 */
export function pwEditApi(id: string) {
  return request({
    url: "/system/user/edit",
    method: "GET",
  });
}
